Total Complexity | 44 |
Dependencies | 12 |
Dependents | 0 |
Total lines | 348 |
Lines of code | 120 |
Logical lines of code | 53 |
Comment lines | 134 |
Methods | 24 |
Properties | 8 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
validateApiResponse() | 56 | 6 | 18 | |
setApiEndpoints() | 64 | 6 | 9 | |
getAccessToken() | 58 | 3 | 17 | |
setHttpClient() | 69 | 4 | 6 | |
setLogger() | 65 | 3 | 9 | |
setCallback() | 70 | 2 | 6 | |
setStorage() | 79 | 2 | 3 | |
setAccessToken() | 69 | 2 | 7 | |
getLogger() | 82 | 1 | 3 | |
getStorage() | 82 | 1 | 3 | |
getHttpClient() | 82 | 1 | 3 | |
__construct() | 63 | 1 | 10 | |
configure() | 100 | 1 | 0 | |
setPageStatus() | 80 | 1 | 3 | |
setUserStatus() | 80 | 1 | 3 | |
getUserActivity() | 80 | 1 | 3 | |
getUserPages() | 80 | 1 | 3 | |
getUserContacts() | 80 | 1 | 3 | |
getUserProfile() | 80 | 1 | 3 | |
maintainToken() | 91 | 1 | 2 | |
apiRequest() | 80 | 1 | 3 | |
isConnected() | 100 | 1 | 0 | |
initialize() | 100 | 1 | 0 | |
disconnect() | 82 | 1 | 3 |